#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
int Strlen(char* s)
{
	int count = 0;
	while (*s != '\0')
	{
		count++;
		s++;
	}
	return count;
}

int main()
{
	char arr[20] = { 0 };
	scanf("%s", arr);
	int len = Strlen(arr);
	printf("%d\n", len);
	return 0;
}
